<template>
	<view>
		<view class="item">
			<view class="left">
				<image src="../../static/images/banner1.webp" mode=""></image>
			</view>
			<view class="title">
				<view class="title">八维充值</view>
				<button>确认充值</button>
			</view>
		</view>
		<view class="item">
			<view class="left">
				<image src="../../static/images/banner1.webp" mode=""></image>
			</view>
			<view class="title">
				<view class="title">钱包充值</view>
				<button @click="toPay">确认充值</button>
			</view>
		</view>
		<view class="item">
			<view class="left">
				<image src="../../static/images/banner1.webp" mode=""></image>
			</view>
			<view class="title">
				<view class="title">XX充值</view>
				<button>确认充值</button>
			</view>
		</view>
	</view>
</template>

<script setup>
	const toPay =() => {
		uni.navigateTo({
			url: '/pages/pay/pay'
		})
	}
	
</script>

<style lang="scss">
.item {
	display: flex;
	image {
		width: 200rpx;
		height: 200rpx;
	}
}
</style>
